package com.sss.gsb.client.grid;

import com.sss.gsb.orm.model.Loan;

public class LoanRow extends RowModel {

	public LoanRow() {
		// empty constructor
	}

	public LoanRow(Integer rowNo, Loan m) {
		this.setRowNo(rowNo);
		this.setCell(new String[] {
				String.valueOf(this.getRowNo()),
				String.valueOf(m.getId()),
				m.getCustomer().getIdcard(),
				m.getCustomer().getName().concat(" ")
						.concat(m.getCustomer().getSurname()) });
	}

}
